package cn.ckx.coding.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 异步配置属性
 * @author kunxin.cai
 **/
@Data
@Component
@ConfigurationProperties("async.config")
public class AsyncConfigProperties {
    
    private int corePoolSize;
    
    private int maxPoolSize;
    
    private int keepAliveTime;
    
    private int capacity;
    
}
